$OpenBSD: patch-mpeg2_video_video_output_x11_c,v 1.9 2009/12/09 10:19:33 jakemsr Exp $
--- mpeg2_video/video_output_x11.c.orig	Tue Nov  4 04:02:10 2003
+++ mpeg2_video/video_output_x11.c	Sun Feb  8 12:15:47 2009
@@ -1377,6 +1377,12 @@ void check_x_events(yuv_image_t *current_image)
 	    break;
 	  }
 	}
+	if (keysym == XK_Z) {
+	  subtitle_pos[subtitle_index]++;
+	}
+	if (keysym == XK_X) {
+		subtitle_pos[subtitle_index]--;
+	}
       }
       break;
     case KeyRelease:
@@ -2067,6 +2073,8 @@ static void draw_win_x11(window_info *dwin)
 	      window.video_area.height);
     XSync(mydisplay, False);
   }
+  if (window.win_state == WINDOW_STATE_FULLSCREEN)
+  	XForceScreenSaver(mydisplay, ScreenSaverReset);
 }
 
 
@@ -2154,6 +2162,8 @@ static void draw_win_xv(window_info *dwin)
        It waits for an XShmCompletionEvent */
     XIfEvent(mydisplay, &ev, predicate, NULL);
   }
+  if (window.win_state == WINDOW_STATE_FULLSCREEN)
+  	XForceScreenSaver(mydisplay, ScreenSaverReset);
 #endif /* HAVE_XV */
 }
 
